class HttpException extends Error {
  constructor(msg = "服务器异常", errorCode = 500, code = 500) {
    super()
    this.msg = msg
    this.code = code
    this.errorCode = errorCode
  }
}

module.exports = HttpException
